MPIMap

data class MPIMap(    val id: String,     val name: String,     val shortName: String,     val elevation: Double? = null,     val scale: Double? = null,     val x_scale: Double? = null,     val _group: String)

MPIMaps represents one of the maps associated with a venue.

  • Example: map of the first floor at a given venue

Constructors

Link copied to clipboard
fun MPIMap(    id: String,     name: String,     shortName: String,     elevation: Double? = null,     scale: Double? = null,     x_scale: Double? = null,     _group: String)

Types

Link copied to clipboard
data class MPICoordinate(    val x: Double,     val y: Double,     val latitude: Double,     val longitude: Double,     val map: MPIMap)

MPICoordinate represents a Mappedin coordinate.

Functions

Link copied to clipboard
fun createCoordinate(latitude: Double, longitude: Double): MPIMap.MPICoordinate?

createCoordinate takes in a lat and lon and returns a Mappedin coordinate

Link copied to clipboard
fun getNorth(): Double?

Properties

Link copied to clipboard
val _group: String
Link copied to clipboard
val elevation: Double? = null

Elevation level of the MPIMap

Link copied to clipboard
var group: MPIMapGroup? = null
Link copied to clipboard
val id: String

Id of the MPIMap

Link copied to clipboard
val name: String

Name of the MPIMap

Link copied to clipboard
val scale: Double? = null

Mappedin scale of the MPIMap

Link copied to clipboard
val shortName: String

Short name of the MPIMap

Link copied to clipboard
val x_scale: Double? = null

Mappedin x scale of the MPIMap